home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / ACORNUSERS / CBSA / EDUCATION / SAVER / h / IconData < prev    next >
Text File  |  1997-12-21  |  1KB  |  71 lines

  1.  
  2. //-----------------------------------
  3. //             IconData.h
  4. //-----------------------------------
  5.  
  6.  
  7. #ifndef IconData_H
  8. #define IconData_H
  9.  
  10. union IconData
  11. {
  12.   char text[12];
  13.   char sprite_name[12];
  14.   struct
  15.   {
  16.     char *text;
  17.     char *filter;
  18.     int text_lenght;
  19.   } indirect_text;
  20.   struct
  21.   {
  22.     union
  23.     {
  24.     int *sprite;
  25.     char *sprite_name;
  26.     };
  27.     int *sprite_area;
  28.     int isname;
  29.   }indirect_sprite;
  30.   struct
  31.   {
  32.     char *text;
  33.     char *filter;
  34.     int text_lenght;
  35.   }indirect;
  36. };
  37.  
  38. struct IconBlock
  39. {
  40.   int xmin; int ymin;
  41.   int xmax; int ymax;
  42.   int flags;
  43. //------------------------- IconData -----------------------//
  44.   char text[12];
  45.   char sprite_name[12];
  46.   struct
  47.   {
  48.     char *text;
  49.     char *filter;
  50.     int text_lenght;
  51.   } indirect_text;
  52.   struct
  53.   {
  54.     union
  55.     {
  56.     int *sprite;
  57.     char *sprite_name;
  58.     };
  59.     int *sprite_area;
  60.     int isname;
  61.   }indirect_sprite;
  62.   struct
  63.   {
  64.     char *text;
  65.     char *filter;
  66.     int text_lenght;
  67.   }indirect;
  68. //------------------------------------------------------------
  69. }; 
  70. #endif
  71.